using MediatR;
using SmartTracking.ErrorCode;

namespace B.S.BaseData.Api.Write.Application.Command.Sale
{
    /// <summary>
    /// 更新销售命令
    /// </summary>
    public class UpdateSalesCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 销售主键ID
        /// </summary>
        public int SalesId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; }
        /// <summary>
        /// 成交价
        /// </summary>
        public string Clinch { get; set; }
        /// <summary>
        /// 定价
        /// </summary>
        public string Pricing { get; set; }
        /// <summary>
        /// 折扣比例
        /// </summary>
        public string Discount { get; set; }
        /// <summary>
        /// 等级
        /// </summary>
        public string Level { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Variety { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string Reproduction { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public string Building { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public string Column { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime Birtdate { get; set; }
        /// <summary>
        /// 出生重量
        /// </summary>
        public string Birthweight { get; set; }
        /// <summary>
        /// 断奶重
        /// </summary>
        public string Weaning { get; set; }
        /// <summary>
        /// 父母
        /// </summary>
        public string Parents { get; set; }
        /// <summary>
        /// 母号
        /// </summary>
        public string Monthber { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public string Monthsday { get; set; }
    }
}

